<?php

class Admin_Form_RemanejamentoRegistrarClassificacaoGeral extends Twitter_Bootstrap_Form_Horizontal
{

    public function init()
    {        
        $modDisciplinas = new Admin_Model_Disciplinas();
        $lstDisciplinas = $modDisciplinas->listarTodasDisciplinas();
        
        
        $this->setIsArray(true)
             ->setElementsBelongTo('');       
        
        $this->setAction('/admin/remanejamento/classificacao-geral')
             ->setName('Form_RemanReg')
             ->setAttrib('id', 'form_reman_reg')
             ->setMethod('post');

        $this->addElement('select', 'disciplina', array('label'         => 'Disciplina',
                                                        'required'      => true,
                                                        'class'         => 'span10',
                                                        'multiOptions'  => array("" => "Selecione uma disciplina",)+$lstDisciplinas
                          ));      

        $this->addElement('submit', 'btnConsultar', array('label' => 'Consultar',
                                                          'class' => 'btn btn-primary'));
        
    }
}